@mixin clearfix {
  &:after {
    content: "";
    display: table;
    clear: both;
  }
}

@mixin scrollBar {
  &::-webkit-scrollbar-track-piece {
    background: #d3dce6;
  }

  &::-webkit-scrollbar {
    width: 6px;
  }

  &::-webkit-scrollbar-thumb {
    background: #99a9bf;
    border-radius: 20px;
  }
}

@mixin relative {
  position: relative;
  width: 100%;
  height: 100%;
}

@media print {
  textarea {
    resize: none;
  }
  .page-break {
    page-break-after: always;
  }
  .print-noborder {
    border: none;
    box-shadow: none;
  }
  .print-none{
    display:none;
  }

  /*处理readonly和disabled的样式*/
  button:disabled, input:disabled, textarea:disabled, 
  button:read-only, input:read-only, textarea:read-only 
  {
    cursor: text!important;
    background-color: #fff!important;
    color: #404d5b!important;
    opacity: 1!important;
  }

  input[type=checkbox]:not(.iPhone) {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
  }

  input[type=checkbox]:not(.iPhone):focus {
    outline: none;
  }

  input[type=checkbox]:not(.iPhone)::before {
    content: "☐";/*\u2610*/
  }

  input[type=checkbox]:not(.iPhone):checked::before {
    content: "☑";/*\u2611*/
  }

  .no-padding {
      padding: 0px;
  }
  .no-padding-left{
      padding-left:0px;
  }
  .no-padding-right{
      padding-right:0px;
  }

  .form-control {
      color: #404d5b;
  }

  .border-bottom {
    box-shadow: none;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #404d5b;
  }

  .vCenter {
      vertical-align: middle !important;
  }

  .no-border {
      border: none;
      box-shadow: none;
      cursor: text;
  }

  textarea {
      width: 100%;
      min-height: 150px;
  }

  .Operator {
      float: left;
      background: #f1f1f1;
      padding: 4px 5px;
      border-radius: 4px;
      margin-right: 10px;
      margin-bottom: 8px;
  }

  .h1 {
      font-size: 36pt;
      font-weight: bold;
      letter-spacing: 61px;
      padding: 30px;
      margin-left: 32px;
  }

  .h3 {
      font-size: 22pt;
      font-weight: bold;
      letter-spacing: 17px;
  }

  .top-margin {
      margin-top: 40px;
  }

  .bottom-margin {
      margin-bottom: 80px;
  }

  #fireExplainTextarea {
      width: 100%;
      min-height: 80px;
  }

  .hr {
      border-bottom: solid 1px #404d5b;
      margin-left: 30px;
  }

  .btn-group-margin {
      margin-top: 10px;
  }

  .glyphicon-ok {
      color: #fff;
  }

  .font-bold{
      font-weight: bold!important;
  }

  .table-header,
  table {
      border-collapse:collapse!important;
      width: 95%;
      margin: 0 auto;
  }
  th, td {
      border: 1px solid #404d5b;
      height: 40px;
  }
  td.photo {
      padding: 10px;
  }

  td.photo img {
      display: inline-block;
      border: none;
      width: 100%;
      border-radius: 10px;
  }
  div.toolbar {
      padding-bottom: 10px;
  }
  .help-block {
      color: red;
      font-size: 14px;
      font-weight: bold;
  }
  label.control-label.text-left {
      text-align: left!important;
  }
  div.row {
      margin: 0!important;
  }
  
  /* 验证提示排列在一排 */
  .valid_row {position: relative!important;}
  .valid_row small {position: absolute!important;top:5px;min-width: 200px;left:280px}
  /* 输入框和提示文字两排挤压防抖动 */
  .valid_mTop {margin-top: 40px}
  .valid_cow{height: 40px!important;overflow: hidden}
  .valid_cow small.help-block{margin-top: -1px!important;margin-bottom: -20px}
  .chebox-l30{margin-left: 30px!important}
}
@media screen {
  textarea {
    resize: vertical;
  }
  textarea:read-only {
    resize: none;
  }
  .page-content {
    padding: 40px 0;
  }
  .page-break {
    height: 1px;
    border-bottom: 1px dashed #404d5b;
  }
}

@media print{
  .page-content {
    min-height: 980px;
  }
  .page-index{
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
